﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000639 RID: 1593
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetAllRedDotDataScRsp : IMessage<GetAllRedDotDataScRsp>, IMessage, IEquatable<GetAllRedDotDataScRsp>, IDeepCloneable<GetAllRedDotDataScRsp>, IBufferMessage
	{
		// Token: 0x170014A2 RID: 5282
		// (get) Token: 0x060047F6 RID: 18422 RVA: 0x000C66F9 File Offset: 0x000C48F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetAllRedDotDataScRsp> Parser
		{
			get
			{
				return GetAllRedDotDataScRsp._parser;
			}
		}

		// Token: 0x170014A3 RID: 5283
		// (get) Token: 0x060047F7 RID: 18423 RVA: 0x000C6700 File Offset: 0x000C4900
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetAllRedDotDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170014A4 RID: 5284
		// (get) Token: 0x060047F8 RID: 18424 RVA: 0x000C6712 File Offset: 0x000C4912
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetAllRedDotDataScRsp.Descriptor;
			}
		}

		// Token: 0x060047F9 RID: 18425 RVA: 0x000C6719 File Offset: 0x000C4919
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAllRedDotDataScRsp()
		{
		}

		// Token: 0x060047FA RID: 18426 RVA: 0x000C672C File Offset: 0x000C492C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAllRedDotDataScRsp(GetAllRedDotDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.cACGPPAMLDI_ = other.cACGPPAMLDI_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060047FB RID: 18427 RVA: 0x000C6762 File Offset: 0x000C4962
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAllRedDotDataScRsp Clone()
		{
			return new GetAllRedDotDataScRsp(this);
		}

		// Token: 0x170014A5 RID: 5285
		// (get) Token: 0x060047FC RID: 18428 RVA: 0x000C676A File Offset: 0x000C496A
		// (set) Token: 0x060047FD RID: 18429 RVA: 0x000C6772 File Offset: 0x000C4972
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170014A6 RID: 5286
		// (get) Token: 0x060047FE RID: 18430 RVA: 0x000C677B File Offset: 0x000C497B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<IDNPCCEHCNO> CACGPPAMLDI
		{
			get
			{
				return this.cACGPPAMLDI_;
			}
		}

		// Token: 0x060047FF RID: 18431 RVA: 0x000C6783 File Offset: 0x000C4983
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetAllRedDotDataScRsp);
		}

		// Token: 0x06004800 RID: 18432 RVA: 0x000C6794 File Offset: 0x000C4994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetAllRedDotDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.cACGPPAMLDI_.Equals(other.cACGPPAMLDI_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004801 RID: 18433 RVA: 0x000C67E4 File Offset: 0x000C49E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.cACGPPAMLDI_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004802 RID: 18434 RVA: 0x000C6831 File Offset: 0x000C4A31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004803 RID: 18435 RVA: 0x000C6839 File Offset: 0x000C4A39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004804 RID: 18436 RVA: 0x000C6844 File Offset: 0x000C4A44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			this.cACGPPAMLDI_.WriteTo(ref output, GetAllRedDotDataScRsp._repeated_cACGPPAMLDI_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004805 RID: 18437 RVA: 0x000C6894 File Offset: 0x000C4A94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.cACGPPAMLDI_.CalculateSize(GetAllRedDotDataScRsp._repeated_cACGPPAMLDI_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004806 RID: 18438 RVA: 0x000C68E8 File Offset: 0x000C4AE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetAllRedDotDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.cACGPPAMLDI_.Add(other.cACGPPAMLDI_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004807 RID: 18439 RVA: 0x000C6935 File Offset: 0x000C4B35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004808 RID: 18440 RVA: 0x000C6940 File Offset: 0x000C4B40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.cACGPPAMLDI_.AddEntriesFrom(ref input, GetAllRedDotDataScRsp._repeated_cACGPPAMLDI_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001CA5 RID: 7333
		private static readonly MessageParser<GetAllRedDotDataScRsp> _parser = new MessageParser<GetAllRedDotDataScRsp>(() => new GetAllRedDotDataScRsp());

		// Token: 0x04001CA6 RID: 7334
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001CA7 RID: 7335
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04001CA8 RID: 7336
		private uint retcode_;

		// Token: 0x04001CA9 RID: 7337
		public const int CACGPPAMLDIFieldNumber = 11;

		// Token: 0x04001CAA RID: 7338
		private static readonly FieldCodec<IDNPCCEHCNO> _repeated_cACGPPAMLDI_codec = FieldCodec.ForMessage<IDNPCCEHCNO>(90U, IDNPCCEHCNO.Parser);

		// Token: 0x04001CAB RID: 7339
		private readonly RepeatedField<IDNPCCEHCNO> cACGPPAMLDI_ = new RepeatedField<IDNPCCEHCNO>();
	}
}
